<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    
    <head>
        <meta charset="utf-8">
        <title>
            X-admin v1.0
        </title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="/lssm/Public/admin/css/x-admin.css" media="all">
    </head>
    
    <body>
        <div class="x-body">
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>手机</label>
                <div class="layui-input-inline">
                    <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($laoshi_user["phone"]); ?>">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>性别</label>
                <div class="layui-input-inline">
                    <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($laoshi_user["sex"]); ?>">
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label"><span class="x-red">*</span>姓名</label>
                    <div class="layui-input-inline">
                        <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($laoshi_user["sfz_name"]); ?>">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>学历</label>
                <div class="layui-input-inline" style="width: 80px;">
                    <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($laoshi_user["education"]); ?>">
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label" style="width: 33px;"><span class="x-red">*</span>学校</label>
                    <div class="layui-input-inline" style="width: 160px;">
                        <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($laoshi_user["school"]); ?>">
                    </div>
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label" style="width: 33px;"><span class="x-red">*</span>专业</label>
                    <div class="layui-input-inline" style="width: 160px;">
                        <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($laoshi_user["major"]); ?>">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>身份证</label>
                <div class="layui-input-inline" style="width: 80px;">
                <?php if (empty($laoshi_user['sfz_img'])) { ?>
                    <input type="text" placeholder="未上传" autocomplete="off" class="layui-input">
                <?php }else { ?>
                    <input type="text" autocomplete="off" class="layui-input" value="已上传">
                <?php } ?>
                    
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label" style="width: 60px;margin-left: -27px;"><span class="x-red">*</span>教师证</label>
                    <div class="layui-input-inline" style="width: 160px;">
                <?php if (empty($laoshi_user['jiaoshizheng_img'])) { ?>
                    <input type="text" placeholder="未上传" autocomplete="off" class="layui-input">
                <?php }else { ?>
                    <input type="text" autocomplete="off" class="layui-input" value="已上传">
                <?php } ?>
                    </div>
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label" style="width: 60px;margin-left: -27px;"><span class="x-red">*</span>其它证</label>
                    <div class="layui-input-inline" style="width: 160px;">
                <?php if (empty($laoshi_user['qitazheng_img'])) { ?>
                    <input type="text" placeholder="未上传" autocomplete="off" class="layui-input">
                <?php }else { ?>
                    <input type="text" autocomplete="off" class="layui-input" value="已上传">
                <?php } ?>
                    </div>
                </div>
            </div>
           <!-- 教龄 -->
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>教龄</label>
                <div class="layui-input-inline">
                    <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($jiaoling_jli["jiaoling"]); ?>">
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label"><span class="x-red">*</span>时间</label>
                    <div class="layui-input-inline">
                        <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($jiaoling_jli["start_year"]); ?>/<?php echo ($jiaoling_jli["start_month"]); ?>-<?php echo ($jiaoling_jli["stop_year"]); ?>/<?php echo ($jiaoling_jli["stop_month"]); ?>">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>简介</label>
                <div class="layui-input-inline">
                    <textarea placeholder="未填写" cols="60" rows="3"><?php echo (strip_tags(htmlspecialchars_decode($jiaoling_jli["jianjie"]))); ?></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>经历</label>
                <div class="layui-input-inline">
                    <textarea placeholder="未填写" cols="60" rows="3"><?php echo (strip_tags(htmlspecialchars_decode($jiaoling_jli["experience"]))); ?></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>颤长类型</label>
                <div class="layui-input-inline" style="width: 235px;">
                    <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($jiaoling_jli["stu_stye"]); ?>">
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label" style="margin-left: -44px;"><span class="x-red">*</span>教学特点</label>
                    <div class="layui-input-inline" style="width: 235px;">
                        <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($jiaoling_jli["laoshi_stye"]); ?>">
                    </div>
                </div>
            </div>
            <!-- 授课 -->
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>授课城市</label>
                <div class="layui-input-inline" style="width: 120px;">
                    <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($showke_info["sk_city"]); ?>">
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label" style="width: 70px;"><span class="x-red">*</span>授课区域</label>
                    <div class="layui-input-inline" style="width: 120px;">
                        <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($showke_info["address"]); ?>">
                    </div>
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label" style="width: 70px;"><span class="x-red">*</span>授课价格</label>
                    <div class="layui-input-inline" style="width: 120px;">
                        <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($showke_info["price"]); ?>">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>授课课程</label>
                <div class="layui-input-inline" style="width: 120px;">
                    <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($showke_info["class"]); ?>">
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label" style="width: 70px;"><span class="x-red">*</span>年级类别</label>
                    <div class="layui-input-inline" style="width: 120px;">
                        <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($showke_info["grades"]); ?>">
                    </div>
                </div>
                <div class="layui-form-mid" style="padding:0px;">
                    <label class="layui-form-label" style="width: 70px;"><span class="x-red">*</span>授课科目</label>
                    <div class="layui-input-inline" style="width: 120px;">
                        <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($showke_info["subject"]); ?>">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span class="x-red">*</span>上门方式</label>
                <div class="layui-input-inline">
                    <input type="text" placeholder="未填写" autocomplete="off" class="layui-input" value="<?php echo ($showke_info["methods"]); ?>">
                </div>
                <span style="line-height: 35px;font-size: 12;">1:老师上门,2:协商地点</span>
            </div>
            <div class="layui-form layui-form-item layui-form-text">
                <label for="desc" class="layui-form-label">
                    授课时间
                </label>
                <table style="clear:both; width:100%; border: 1px solid #D2D2D2;" class="tbhju">
                    <colgroup>
                        <col width="16%">
                        <col width="12%">
                        <col width="12%">
                        <col width="12%">
                        <col width="12%">
                        <col width="12%">
                        <col width="12%">
                        <col width="12%">
                    </colgroup>
                    <thead>
                        <tr id="uinp">
                            <th>&nbsp;</th>
                            <th>星期一</th>
                            <th>星期二</th>
                            <th>星期三</th>
                            <th>星期四</th>
                            <th>星期五</th>
                            <th>星期六</th>
                            <th>星期日</th>
                        </tr>
                    </thead>
                    <tbody id="uMw">
                        <tr>
                            <td class="timE">上午：</td>
                            <?php  foreach ($showke_time_sw as $t) { ?>
                            <td class="sL"><input class="showke_time" type="checkbox" name="sm_shijian" value="<?php echo ($t["id"]); ?>"<?php if (in_array($t['id'], $shouke_times)) { ?>
                              checked
                            <?php } ?> /></td>
                            <?php } ?>
                        </tr>
                        <tr>
                            <td class="timE">下午：</td>
                            <?php  foreach ($showke_time_xw as $t) { ?>
                            <td class="sL"><input class="showke_time" type="checkbox" name="sm_shijian" value="<?php echo ($t["id"]); ?>"<?php if (in_array($t['id'], $shouke_times)) { ?>
                              checked
                            <?php } ?> /></td>
                            <?php } ?>
                        </tr>
                        <tr>
                            <td class="timE">晚上：</td>
                            <?php  foreach ($showke_time_ws as $t) { ?>
                            <td class="sL"><input class="showke_time" type="checkbox" name="sm_shijian" value="<?php echo ($t["id"]); ?>"<?php if (in_array($t['id'], $shouke_times)) { ?>
                              checked
                            <?php } ?> /></td>
                            <?php } ?>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <script src="/lssm/Public/admin/lib/layui/layui.js" charset="utf-8">
        </script>
        <script src="/lssm/Public/admin/js/x-layui.js" charset="utf-8">
        </script>
        <script>
            layui.use(['form','layer'], function(){
                $ = layui.jquery;
              var form = layui.form()
              ,layer = layui.layer;
              
            });

            /*照片证-查看*/
            function member_show(title,url,id,w,h){
                x_admin_show(title,url,w,h);
            }
        </script>

    </body>

</html>